package org.jeasy.mvc.model.facade;
import javax.servlet.ServletContext;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.jeasy.mvc.utils.BaseUtil;

public class HandelRequestFacade {
    
	public void doHandel(ServletContext context,String result,HttpServletRequest req,
			HttpServletResponse resp){
		
		BaseUtil.sannerPageNames(context);
       	try {
			BaseUtil.doResponse(result,req,resp);
		} catch (Exception e) {
			e.printStackTrace();
		}
    }
}